 /*scroll Banner*/
                        ;(function($){
                              $.fn.slideBanner=function(options){
                                   options=$.extend({
                                     btn_l:".btn_l",
                                     btn_r:".btn_r",
                                     triggerEvent:"click",
                                     isAuto:false,
                                     scrollEle:"li",
                                     parentEle:"ul",
                                     currentIndex:1
                                   },options||{});
                                var hasNum=this.find(options.scrollEle).size();
                                var slideWidth=this.find("li").outerWidth()*hasNum;
                                var _step=this.find(options.scrollEle).outerWidth();
                                var $_slideParent=this.find(options.parentEle);
                                $_slideParent.css("width",slideWidth);
                                var $_btn_l=this.find(options.btn_l);
                                var $_btn_r=this.find(options.btn_r);
                                if($_btn_r.size()>0&&$_btn_r!=null){
                                   $_btn_r.bind(options.triggerEvent,function(){
                                        if(options.currentIndex==hasNum){
                                          $_slideParent.animate({"margin-left":0}); 
                                          options.currentIndex=1;
                                        }else{
                                          $_slideParent.animate({"margin-left":("-"+_step*options.currentIndex)}); 
                                          options.currentIndex++;
                                        }
                                   })
                                };
                                if($_btn_l.size()>0&&$_btn_l!=null){
                                   $_btn_l.bind(options.triggerEvent,function(){
                                        if(options.currentIndex==1){
                                          $_slideParent.animate({"margin-left":-(_step*(hasNum-1))}); 
                                          options.currentIndex=hasNum;
                                        }else{
                                          $_slideParent.animate({"margin-left":-(_step*(options.currentIndex-2))});
                                          options.currentIndex--; 
                                        }
                                   })
                                };
                               
                             }    
                        })(jQuery);